<div id="sidebar" class="collapse navbar-collapse col-md-2 col-sm-3">
    <!-- Start .sidebar-inner -->
    <div class="sidebar-inner">
        <img class="img-responsive img-rounded center-block y-mt10" src="{{asset('/image/login-img.jpg')}}" width="55%">
        <h4 class="text-truncate y-mt30" id="yhyUser">{{$user->username}}</h4>

        <ul id="sideNav" class="nav nav-pills nav-stacked">
            <li class="{{$active == 'info' ? 'on' :''}}">
                <a href="/member/info">
                    <div class="col-sm-9">
                        <h4>基本信息</h4>
                    </div>
                    <div class="col-sm-3">
                        <i class="arrowH"></i>
                    </div>
                </a>
            </li>
            <li class="{{$active == 'remit' ? 'on' :''}}">
                <a href="/member/remit">
                    <div class="col-sm-9">
                        <h4>结算信息</h4>
                    </div>
                    <div class="col-sm-3">
                        <i class="arrowH"></i>
                    </div>
                </a>
            </li>
            {{--<li>--}}
            {{--<a href="mchannel.html">--}}
            {{--<div class="col-sm-9">--}}
            {{--<h4>渠道管理</h4>--}}
            {{--</div>--}}
            {{--<div class="col-sm-3">--}}
            {{--<i class="arrowH"></i>--}}
            {{--</div>--}}
            {{--</a>--}}
            {{--</li>--}}
            <li class="{{$active == 'pwd' ? 'on' :''}}">
                <a href="/member/pwd">
                    <div class="col-sm-9">
                        <h4>密码管理</h4>
                    </div>
                    <div class="col-sm-3">
                        <i class="arrowH"></i>
                    </div>
                </a>
            </li>
            <li class="{{$active == 'privacy' ? 'on' :''}}">
                <a href="/member/privacy">
                    <div class="col-sm-9">
                        <h4>隐私数据</h4>
                    </div>
                    <div class="col-sm-3">
                        <i class="arrowH"></i>
                    </div>
                </a>
            </li>
            <li class="{{$active == 'agreement' ? 'on' :''}}">
                <a href="/member/agreement">
                    <div class="col-sm-9">
                        <h4>技术协议</h4>
                    </div>
                    <div class="col-sm-3">
                        <i class="arrowH"></i>
                    </div>
                </a>
            </li>
        </ul>

    </div>
    <!-- End .sidebar-inner -->
</div>
<script>
//    window.onload=function(){
//        var yhyUser = localStorage.getItem("username")
//        if (yhyUser){
//            document.getElementById("yhyUser").innerHTML=yhyUser;
//        }
//    }

</script>
